<div id="banner">
    	<?php echo $this->load->view('common/banner_tpl',$banner,true); ?>
        <?php echo $this->load->view('common/certificate_expire_box_tpl','',true); ?>
    </div>
    <div id="content">
    	<div class="left">
            <?php echo $this->load->view('common/listnews_tpl',$listnews,true); ?>
        </div>
    <div class="news-list">
        	<span class="main-title"><?php echo lang('T_SEARCH RESULT'); ?></span>
            <div class="faqs clearfix">
                <ul>
                 <?php 
				 $j=0;
				if(count($news))
				{
					$i=1;
					foreach($news AS $item)
					{
                    	$title		= UtilHelp::getData($item['title']);
						$link_item	= site_url('newsdetail/'.UtilHelp::createURLTitle($item['id_article'], $title));
				?>
                    <li<?php echo ($i%2==0)?' class="gray"':"" ?>> 
                       <div class="icui-title"><a href="<?php echo $link_item; ?>"><?php echo $title; ?></a></div>
                    </li>
                <?php 
						$i++;
						$j=$i;
					}
				}
				?>
                </ul>
                <ul>
                 <?php 
				if(count($exams))
				{
					foreach($exams AS $item)
					{
                    	$title		= UtilHelp::getData($item['vca_category_name']);
						$link_item	= site_url('diploma/'.UtilHelp::createURLTitle($item['id_vca_category'], $title));
				?>
                    <li<?php echo ($j%2==0)?' class="gray"':"" ?>> 
                       <div class="icui-title"><a href="<?php echo $link_item; ?>"><?php echo $title; ?></a></div>
                    </li>
                <?php 
						$j++;
					}
				}
				?>
                </ul>
            </div>
        </div>
    </div>
<script>
jQuery(document).ready(function(){
	jQuery("#home").addClass('active');
});
</script>